let list = [
  { name: "工作台", icon: "icon-shouye8-copy" },
  { name: "签约管理", icon: "icon-wenjiantianjia" },
  { name: "服务管理", icon: "icon-zizhufuwu" },
  { name: "居民管理", icon: "icon-wode6" },
  { name: "资料管理", icon: "icon-wode3" },
  { name: "数据统计", icon: "icon-shujukanban" },
  { name: "系统设置", icon: "icon-shezhi1" },
];

function getSiderIcon(name:any){
  let data = list.find((item) => {
   return item.name == name;
  });
  if(data){
    return data.icon
  }
};
export default getSiderIcon